# PVAC-HFHE ## Docs - [Introduction](https://mintlify.wiki/octra-labs/pvac_hfhe_cpp/introduction.md): A proof-of-concept implementation of PVAC-HFHE, a fully homomorphic encryption scheme based on Learning with Parity and Noise over a 127-bit prime field - [Installation](https://mintlify.wiki/octra-labs/pvac_hfhe_cpp/installation.md): Get PVAC-HFHE set up in your C++17 project - [Quickstart](https://mintlify.wiki/octra-labs/pvac_hfhe_cpp/quickstart.md): Build your first homomorphic encryption application with PVAC-HFHE in minutes - [Overview](https://mintlify.wiki/octra-labs/pvac_hfhe_cpp/concepts/overview.md): Introduction to PVAC-HFHE core concepts and architecture - [Field arithmetic](https://mintlify.wiki/octra-labs/pvac_hfhe_cpp/concepts/field-arithmetic.md): Understanding the 127-bit prime field used in PVAC-HFHE - [Encryption scheme](https://mintlify.wiki/octra-labs/pvac_hfhe_cpp/concepts/encryption-scheme.md): Understanding the hypergraph-based encryption in PVAC-HFHE - [Homomorphic operations](https://mintlify.wiki/octra-labs/pvac_hfhe_cpp/concepts/homomorphic-operations.md): Understanding addition, subtraction, and multiplication on encrypted data - [Security](https://mintlify.wiki/octra-labs/pvac_hfhe_cpp/concepts/security.md): Understanding the LPN-based security model and 128-bit security level - [Basic operations](https://mintlify.wiki/octra-labs/pvac_hfhe_cpp/guides/basic-operations.md): Learn the fundamental operations in PVAC-HFHE including key generation, encryption, and decryption - [Key generation](https://mintlify.wiki/octra-labs/pvac_hfhe_cpp/guides/key-generation.md): Understand the parameters, public keys, and secret keys in PVAC-HFHE - [Encryption and decryption](https://mintlify.wiki/octra-labs/pvac_hfhe_cpp/guides/encryption-decryption.md): Master enc_value, dec_value, and understand ciphertext structures in PVAC-HFHE - [Arithmetic operations](https://mintlify.wiki/octra-labs/pvac_hfhe_cpp/guides/arithmetic-operations.md): Learn homomorphic addition, subtraction, multiplication, and squaring with ct_add, ct_sub, ct_mul, and ct_square - [Depth management](https://mintlify.wiki/octra-labs/pvac_hfhe_cpp/guides/depth-management.md): Understand circuit depth, noise budget, and ciphertext growth in PVAC-HFHE - [Text encryption](https://mintlify.wiki/octra-labs/pvac_hfhe_cpp/guides/text-encryption.md): Encrypt and decrypt strings with enc_text and dec_text in PVAC-HFHE - [Performance tuning](https://mintlify.wiki/octra-labs/pvac_hfhe_cpp/guides/performance-tuning.md): Optimize PVAC-HFHE performance with benchmark data and tuning strategies - [Basic usage](https://mintlify.wiki/octra-labs/pvac_hfhe_cpp/examples/basic-usage.md): Complete walkthrough of PVAC-HFHE basic operations and functionality - [Polynomial evaluation](https://mintlify.wiki/octra-labs/pvac_hfhe_cpp/examples/polynomial-evaluation.md): Evaluate polynomials on encrypted data using PVAC-HFHE - [ML credit scoring](https://mintlify.wiki/octra-labs/pvac_hfhe_cpp/examples/ml-credit-scoring.md): Privacy-preserving machine learning with encrypted credit scoring - [Types](https://mintlify.wiki/octra-labs/pvac_hfhe_cpp/api/core/types.md): Core types and structures used in PVAC-HFHE - [Field arithmetic](https://mintlify.wiki/octra-labs/pvac_hfhe_cpp/api/core/field.md): Finite field operations for PVAC-HFHE - [Configuration](https://mintlify.wiki/octra-labs/pvac_hfhe_cpp/api/core/config.md): Global configuration and debug settings for PVAC-HFHE - [BitVec](https://mintlify.wiki/octra-labs/pvac_hfhe_cpp/api/core/bitvec.md): Binary vector operations for PVAC-HFHE - [Random generation](https://mintlify.wiki/octra-labs/pvac_hfhe_cpp/api/core/random.md): Cryptographically secure random number generation for PVAC-HFHE - [Hash functions](https://mintlify.wiki/octra-labs/pvac_hfhe_cpp/api/core/hash.md): Cryptographic hash functions and XOF for PVAC-HFHE - [Key generation](https://mintlify.wiki/octra-labs/pvac_hfhe_cpp/api/crypto/keygen.md): Generate public and secret keys for PVAC-HFHE encryption - [LPN operations](https://mintlify.wiki/octra-labs/pvac_hfhe_cpp/api/crypto/lpn.md): Learning Parity with Noise functions for PVAC-HFHE encryption - [Matrix operations](https://mintlify.wiki/octra-labs/pvac_hfhe_cpp/api/crypto/matrix.md): Sparse matrix and permutation functions for PVAC-HFHE - [Toeplitz operations](https://mintlify.wiki/octra-labs/pvac_hfhe_cpp/api/crypto/toeplitz.md): Toeplitz matrix multiplication for hash compression in PVAC-HFHE - [Encryption operations](https://mintlify.wiki/octra-labs/pvac_hfhe_cpp/api/ops/encrypt.md): Functions for encrypting plaintext values and field elements into ciphertexts - [Decryption operations](https://mintlify.wiki/octra-labs/pvac_hfhe_cpp/api/ops/decrypt.md): Functions for decrypting ciphertexts to plaintext values and field elements - [Arithmetic operations](https://mintlify.wiki/octra-labs/pvac_hfhe_cpp/api/ops/arithmetic.md): Homomorphic arithmetic operations on encrypted data - [Recryption operations](https://mintlify.wiki/octra-labs/pvac_hfhe_cpp/api/ops/recrypt.md): Bootstrapping and noise refreshing functions for deep circuits - [Commitment operations](https://mintlify.wiki/octra-labs/pvac_hfhe_cpp/api/ops/commit.md): Cryptographic commitment functions for ciphertext binding - [Metrics](https://mintlify.wiki/octra-labs/pvac_hfhe_cpp/api/utils/metrics.md): Performance measurement and ciphertext analysis utilities - [Text encoding](https://mintlify.wiki/octra-labs/pvac_hfhe_cpp/api/utils/text.md): Text encryption and field element packing utilities - [Benchmark overview](https://mintlify.wiki/octra-labs/pvac_hfhe_cpp/benchmarks/overview.md): Performance evaluation of PVAC-HFHE proof of concept against production FHE schemes - [Detailed comparisons](https://mintlify.wiki/octra-labs/pvac_hfhe_cpp/benchmarks/comparison.md): Comprehensive performance comparison of PVAC-HFHE against BFV, BGV, CKKS, TFHE, and FHEW - [Testing methodology](https://mintlify.wiki/octra-labs/pvac_hfhe_cpp/benchmarks/methodology.md): Hardware setup, measurement approach, and important caveats for PVAC-HFHE benchmarks